﻿using System.IO;

namespace TfsWrapper
{
    public class OutputWriter : IOutputWriter
    {
        protected readonly TextWriter Inner;

        public OutputWriter(TextWriter inner)
        {
            Inner = inner;
        }

        public virtual void WriteLine()
        {
            Inner.WriteLine();
        }

        public virtual void WriteLine(string fieldName, object fieldValue)
        {
            Inner.WriteLine(fieldValue);
        }
    }
}